<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>vue原理</title>

    <script src="./index.js" defer></script>
</head>
<body>
    <div id="app">
        <h1>{{name}}</h1>
        <p>{{content}}</p>
        <p>{{content}}</p>
        <button @click="change">改名</button>
        <input type="text" v-model="name">
    </div>
</body>
</html>